three switches puzzle